package com.ly.auth.entity;

import lombok.Data;
import org.springframework.security.core.GrantedAuthority;

/**
 * @author luka.zhou
 * @date 2024-3-7 16:40
 * @description AuthGrantedAuthority token授权字符串
 */
@Data
public class AuthGrantedAuthority implements GrantedAuthority {


    private String code;

    @Override
    public String getAuthority() {
        return code;
    }

}
